//
//  RTJWithdrawalResultController.m
//  RuiTaiJinProject
//
//  Created by jayson on 2018/12/13.
//  Copyright © 2018年 leewei. All rights reserved.
//

#import "RTJWithdrawalResultController.h"

@interface RTJWithdrawalResultController ()

@property (weak, nonatomic) IBOutlet UIView *backview;

@property (weak, nonatomic) IBOutlet UILabel *moneyLab;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewTop;

@end

@implementation RTJWithdrawalResultController

- (void)viewDidLoad {
    [super viewDidLoad];

    self.title = @"结果";

    self.navigationItem.leftBarButtonItem =[[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"nav_fanhui"] style:UIBarButtonItemStylePlain target:self action:@selector(back)];
    
    _backview.layer.cornerRadius = 5;
    _backview.layer.shadowColor = [UIColor colorForHex:@"#dbc9cc"].CGColor;
    _backview.layer.shadowOffset = CGSizeMake(-1, 1);
    _backview.layer.shadowOpacity = 0.5;
    _backview.layer.shadowRadius = 5;
    
    _moneyLab.text = [NSString stringWithFormat:@"%@元",_money];
    
     self.viewTop.constant = screenH == 812 ? 88 : 64;
}

-(void)back{
    
    [self.navigationController popToRootViewControllerAnimated:YES];
}

@end
